package com.gxa.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SupplierAddDto {
    @ApiModelProperty("供应商编号")
    private Integer sid ;

    @ApiModelProperty("供应商引进人id")
    private Integer introducerId;

    @ApiModelProperty("供应商引进人姓名")
    private String introducer;

    @ApiModelProperty("供应商来源")
    private String origin;

    @ApiModelProperty("供应商名称")
    private String sname;


    @ApiModelProperty("经营范围")
    private String scope ;


    @ApiModelProperty("联系人")
    private String contact;


    @ApiModelProperty("岗位")
    private String position;


    @ApiModelProperty("电话")
    private String tel;


    @ApiModelProperty("邮件")
    private String email;


    @ApiModelProperty("qq")
    private String qq;

    @DateTimeFormat(pattern = "yyyy-MM-dd")   //转换时间类型
    @ApiModelProperty("建档时间")
    private Date createTime;

    @ApiModelProperty("区域id")
    private Integer rid;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("商品id字符串")
    private String ids;


}
